package com.cdtu.store.item.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.cdtu.store.common.utils.PageUtils;
import com.cdtu.store.common.entity.SpecGroupEntity;

import java.util.List;
import java.util.Map;

/**
 * 规格参数的分组表，每个商品分类下有多个规格参数组
 *
 * @author dongyuhao
 * @email a1059444570@qq.com
 * @date 2020-06-22 19:53:26
 */
public interface SpecGroupService extends IService<SpecGroupEntity> {

    PageUtils queryPage(Map<String, Object> params);

    PageUtils queryPage(Map<String, Object> params, Long cid);

    void updateDetail(SpecGroupEntity specGroup);

    List<SpecGroupEntity> querySpecsByCid(Long cid);
}

